package com.chixing.day09_innerclass;

/**
 * 可列举有限的类对象
 */
public class Season {

    public static final Season SPRING = new Season("春");
    public static final Season SUMMER = new Season("夏");
    public static final Season AUTUMN = new Season("秋");
    public static final Season WINTER = new Season("冬");


    private String name;
    private Season(){}
    private Season(String name){
        this.name = name;
    }

}
